package com.excesys.exsecs.eco.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 节能制冷量小时表
 *
 * @author lxc
 * @date 2024-11-26 13:31:09
 */
@Data
@TableName("eco_cool_hour_flow")
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "节能制冷量小时表")
public class EcoCoolHourFlow extends Model<EcoCoolHourFlow> {

 
	/**
	* id
	*/
    @TableId(type = IdType.AUTO)
    @Schema(description="id")
    private Long id;

	/**
	* 设备位置编码
	*/
    @Schema(description="设备位置编码")
    private String unitNo;

	/**
	* 设备编号
	*/
    @Schema(description="设备编号")
    private String deviceNo;

	/**
	* 记录时间点，应是整点
	*/
    @Schema(description="记录时间点，应是整点")
    private LocalDateTime timeValue;

	/**
	* 分区时间值 202206 202207
	*/
    @Schema(description="分区时间值 202206 202207")
    private Integer timePartition;

	/**
	* 当前表计能耗
	*/
    @Schema(description="当前表计能耗")
    private Float powerIncrValue;

	/**
	* 总能耗
	*/
    @Schema(description="总能耗")
    private Float totalValue;

	/**
	* 增量能耗
	*/
    @Schema(description="增量能耗")
    private Float incrValue;
	/**
	 * cop
	 */
	@Schema(description="cop")
	private Float cop;

	/**
	* 创建人
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建人")
    private String createBy;

	/**
	* 创建时间
	*/
	@TableField(fill = FieldFill.INSERT)
    @Schema(description="创建时间")
    private LocalDateTime createTime;

	/**
	* 更新人
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="更新人")
    private String updateBy;

	/**
	* 更新时间
	*/
	@TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description="更新时间")
    private LocalDateTime updateTime;
}